package com.qs.model.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 首页商品详情数据
 * @author author
 * @since 2023-11-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
public class GoodsDetailDto implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String goodsName;

    private String image;

    private double price;

    /**
     * 商品销量
     */
    private Long sale;

    /**
     * 商品所属商家
     */
    private String storeName;

    private Integer storeId;

    /**
     * 商品详情
     */
    private String detail;
}
